Skip to content

Chore/pr ready 20260403 - #419

Merged
zahlekhan merged 10 commits into
mainfrom
chore/pr-ready-20260403
Apr 3, 2026
Merged

Chore/pr ready 20260403#419
zahlekhan merged 10 commits into
mainfrom
chore/pr-ready-20260403

Conversation

@vishxrad

@vishxrad vishxrad commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

Added a multi-agent chat example built with the AI SDK, showing how a main agent delegates specialized tasks to a sub-agent.

Closed #418

zahlekhan
zahlekhan previously approved these changes Apr 3, 2026

@zahlekhan zahlekhan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vishxrad
vishxrad enabled auto-merge (squash) April 3, 2026 09:07
@vishxrad
vishxrad disabled auto-merge April 3, 2026 09:07
ankit-thesys and others added 4 commits April 3, 2026 15:08
* feat: add openui-artifact-demo example

New example app demonstrating the OpenUI artifact system for displaying
AI-generated code in a resizable side panel.

- Custom ArtifactCodeBlock genui component with inline preview and artifact panel view
- Extends openuiChatLibrary with artifact-specific component and prompt rules
- Syntax highlighting via react-syntax-highlighter (Prism, vscDarkPlus)
- Copy-to-clipboard, language badges, filename headers
- Multiple artifacts per conversation, one active at a time
- Code-focused conversation starters (React, Python, CSS, SQL)

* styling fix for artifact panel

* feat: add Artifact() factory function in react-ui, migrate artifact demo

Adds Artifact() to @openuidev/react-ui — a factory that returns a
ComponentRenderer with automatic useId, useArtifact, and ArtifactPanel
wiring. Consumers provide preview/panel render functions; no manual
artifact boilerplate needed. No changes to lang-core or react-lang.

- react-ui: new Artifact() function with ArtifactControls injection
- example: migrate ArtifactCodeBlock to use Artifact()
- example: remove artifactId from schema and prompt, simplify InlinePreview

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* docs: add Artifacts page to chat layout docs

Explains the artifact system for consumers — Artifact() factory,
ArtifactControls, layout setup, headless hooks, and manual wiring
escape hatch. Placed under Chat Layouts after BottomTray.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Update CLI README with @latest for install and generate examples
- Update all documentation files to include @latest in CLI commands
- Update package.json scripts to use @latest
- Update OpenUiGeneratesSchema.tsx with @latest

Fixes issue where npx @openuidev/cli fails without @latest tag

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
@zahlekhan
zahlekhan enabled auto-merge (squash) April 3, 2026 10:06
@zahlekhan
zahlekhan merged commit cd8e652 into main Apr 3, 2026
1 check passed
@zahlekhan
zahlekhan deleted the chore/pr-ready-20260403 branch April 3, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multi agent support with OpenUI

3 participants